using Bootstrap.Models;
using Bootstrap.Services;

namespace Bootstrap.Variables
{
	public class GridRowWidth1200 : IBootstrapVariable, IBootstrapDefaults {
		public void Describe(VariableDescriptionContext context) {
			context
				.Describe(
					"gridRowWidth1200",
					variable =>
					variable
						.WithSection(VariableSections.Default940PxGrid, 994));
		}
		public int Priority { get { return 0; } }

		public void Define(BootstrapDefaultSettingsContext context) {
			context.Variable("gridRowWidth1200", var => var.WithValue("(@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1))"));
		}		
	}
}